﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Dissemination.MVC.Models.Reporter>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Delete</h2>

    <h3>Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">ReporterID</div>
        <div class="display-field"><%= Html.Encode(Model.ReporterID) %></div>
        
        <div class="display-label">ReporterUserID</div>
        <div class="display-field"><%= Html.Encode(Model.ReporterUserID) %></div>
        
        <div class="display-label">ReporterEmail</div>
        <div class="display-field"><%= Html.Encode(Model.ReporterEmail) %></div>
        
        <div class="display-label">ReporterSurname</div>
        <div class="display-field"><%= Html.Encode(Model.ReporterSurname) %></div>
        
        <div class="display-label">ReporterAge</div>
        <div class="display-field"><%= Html.Encode(Model.ReporterAge) %></div>
        
        <div class="display-label">ReporterYearsOfExperience</div>
        <div class="display-field"><%= Html.Encode(Model.ReporterYearsOfExperience) %></div>
        
        <div class="display-label">ReporterDepartment</div>
        <div class="display-field"><%= Html.Encode(Model.ReporterDepartment) %></div>
        
        <div class="display-label">ReporterPosition</div>
        <div class="display-field"><%= Html.Encode(Model.ReporterPosition) %></div>
        
        <div class="display-label">ReporterRole</div>
        <div class="display-field"><%= Html.Encode(Model.ReporterRole) %></div>
        
        <div class="display-label">ReporterDevotedTime</div>
        <div class="display-field"><%= Html.Encode(Model.ReporterDevotedTime) %></div>
        
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Delete" /> |
		    <%= Html.ActionLink("Back to target area details", "Details", "TargetArea", new { id = ViewContext.RouteData.Values["targetareaid"] }, null)%>
        </p>
    <% } %>

</asp:Content>

